<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="dialog-add" title="添加分类" style="background:white">
	<div id="dialog-popup">
		<div class="sect">
			<s:form namespace="/admin" action="addCategory" method="post" id="add-form"
					theme="simple">
				<div class="field">
					<label for="txt_name">分类名称</label>
					<s:textfield id="txt_name" size="10" name="category.name"
								 cssClass="f-input"/>
				</div>
				<div class="field">
					<label for="txt_chnName">描述</label>
					<s:textarea id="txt_chnName" name="category.description"
								 cssClass="f-textarea" cols="45" rows="5"/>
				</div>
				<s:submit value="保存" name="commit" id="submit" cssClass="formsubmit"/>
			</s:form>
		</div>
	</div>
</div>